<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\DiscountXGoods
 *
 * @property int $id
 * @property int $goods_id 商品id
 * @property int $discount_sales_rule_id 折扣id
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\DiscountXGoods onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereDiscountSalesRuleId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\DiscountXGoods whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\DiscountXGoods withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\DiscountXGoods withoutTrashed()
 * @mixin \Eloquent
 */
class DiscountXGoods extends Model
{
    protected  $table = 'discount_x_goods';
    use SoftDeletes;
}
